Vcenter Vcha ConnectionSpec
The Vcenter Vcha ConnectionSpec schema contains information required to connect to a vCenter server. The connection to the vCenter server always uses the HTTPS protocol.
This schema was added in vSphere API 6.7.1.
{
"hostname": "string",
"port": 0,
"ssl_thumbprint": "string",
"ssl_certificate": "string",
"username": "string",
"password": "string"
}
IP Address or DNS of the vCenter.
This property was added in vSphere API 6.7.1.
Port number.
This property was added in vSphere API 6.7.1.
If missing or null
, port 443 will be used.
This property is deprecated as of vSphere API 9.0.0.0. this property is deprecated please use sslCertificate instead.
SHA1 hash of the server SSL certificate.
This property was added in vSphere API 6.7.1.
If missing or null
, empty ssl thumbprint is assumed.
PEM-encoded server SSL certificate of vCenter. Note: sslThumbprint
and sslCertificate
parameters are mutually exclusive, and should never be used simultaneously.
This property was added in vSphere API 9.0.0.0.
If missing or null
, empty ssl certificate is assumed.
Username to access the server.
This property was added in vSphere API 6.7.1.
This property is currently required. If missing or null
, an error is returned. In the future, if this property is missing or null
, the system will attempt to identify the user. If a user cannot be identified, then the requested operation will fail.
Password for the specified user.
This property was added in vSphere API 6.7.1.
This property is currently required. If missing or null
, an empty password is assumed. In the future, if this property is missing or null
, the system will attempt to authenticate the user. If a user cannot be identified, then the requested operation will fail.